<?php

$fbUserId   =   $_GET['id'];

$con=mysqli_connect("192.168.0.170","adminmanzana","manzana-gt-2013","reciclatumanzana");

if (mysqli_connect_errno())
{
    echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

mysqli_query($con,"UPDATE users SET state=0 WHERE facebook=".$fbUserId);

mysqli_close($con);

?>